package com.marry.multidatasource.service;

import com.marry.multidatasource.mapper.bd.RealestaterightMapper;
import com.marry.multidatasource.model.bd.Realestateright;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author ml
 * @create 2018-01-09--17:03
 */
@Service
public class RealestaterightService {
    @Autowired
    private RealestaterightMapper realestaterightMapper;
    public Realestateright getRealestaterightById(String keyId) {
        return realestaterightMapper.selectRealestaterightById(keyId);
    }
}
